#pragma once

class CMemDC
{
public:
	CMemDC(HDC hDC,const CSize& szPaint);
	CMemDC(HDC hDC,const CBitmap* bmMap);
	~CMemDC(void);
	HDC GetGetSafeHDC();
private:
	HGDIOBJ m_hOldDc;
	HDC		m_hDC;
	HDC		m_NewDc;
	HBITMAP m_MapDc;
};
